package io.gitee.zhucan123.core.rest;

import org.springframework.http.HttpMethod;

/**
 * @author: zhuCan
 * @date: 2020/2/24 14:58
 * @description:
 */
public interface RestApi {

  /**
   * 接口的路径
   *
   * @return
   */
  String url();

  /**
   * 接口的请求方式
   *
   * @return
   */
  HttpMethod method();

}
